home *** CD-ROM | disk | FTP | other *** search
- <script>
- function InitExtra()
- {
- OnSetPrinterNameDisabled();
-
- if ( document.layoutform.usedefaultprinter[1].checked )
- {
- document.layoutform.printername.focus();
- }
- }
-
- function CheckSpecifiedPrinter()
- {
- // map layout to the actualy layout
- if ( document.layoutform.usedefaultprinter[0].checked )
- {
- document.layoutform.layout.value = "1";
- }
- else
- {
- document.layoutform.layout.value = "3";
-
- // check empty name
- if ( document.layoutform.printername.value == "" )
- {
- alert( L_PRINTER_NAME_EMPTY );
-
- document.layoutform.printername.focus();
- document.layoutform.printername.select();
-
- return false;
- }
- }
-
- return true;
- }
- </script>
- %1
-